package study.java.jdk.jdk7.s4_try_with_resources;

import lombok.extern.slf4j.Slf4j;

@Slf4j
public class Resource implements AutoCloseable {

    public void doSomething() {
        log.info("do do do");
    }

    @Override
    public void close() {
        log.info(">>>>>> close resource");
    }
}
